{% load static %}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <title>登陆 - 教务管理系统</title>
    <meta name="description" content="教务管理系统">
    <link rel="stylesheet" href="{% static "assets/bootstrap/css/bootstrap.min.css" %}">
    <link rel="stylesheet"
          href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i">
    <link rel="stylesheet" href="{% static "assets/fonts/fontawesome-all.min.css" %}">
    <link rel="stylesheet" href="{% static "assets/fonts/font-awesome.min.css" %}">
    <link rel="stylesheet" href="{% static "assets/fonts/fontawesome5-overrides.min.css" %}">
    <script src="https://www.google.com/recaptcha/api.js" async defer></script>

</head>
<body class="bg-gradient-primary">
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-9 col-lg-12 col-xl-10">
            <div class="card shadow-lg o-hidden border-0 my-5">
                <div class="card-body p-0">
                    <div class="row">
                        <div class="col-lg-6 d-none d-lg-flex">
                            <div class="flex-grow-1 bg-login-image"
                                 style="background-image: url(&quot;{% static 'assets/img/pic/zhengzhouuniversity.jpg' %}&quot;);"></div>
                        </div>
                        <div class="col-lg-6">
                            <div class="p-5">
                                <div class="text-center"><h4 class="text-dark mb-4">教务管理系统</h4></div>

                                <form action="doLogin/" class="user" method="post">
                                    {% csrf_token %}
                                    <div class="mb-3"><input type="text" placeholder="学号"
                                                             class="form-control form-control-user"
                                                             id="exampleInputNumber" name="number"
                                    ></div>
                                    {#                                    style="width: 400px;height: 53px;padding: 10px;border-radius: 160px;border-width: 1px;border-color: var(--bs-indigo);#}
                                    <div class="mb-3"><input class="form-control form-control-user" type="password"
                                                             id="exampleInputPassword" placeholder="密码"
                                                             name="password"></div>


                                    <div class="mb-3">
                                        <div class="input-group mb-3">
                                            <div class="g-recaptcha"
                                                 data-sitekey="6LeH_40bAAAAAJope54DtfvAjGrNt5b-JnU1Z5Fd"></div>
                                        </div>
                                        <div class="custom-control custom-checkbox small">


                                            <div class="form-check"><input class="form-check-input custom-control-input"
                                                                           type="checkbox" id="formCheck-1"><label
                                                    class="form-check-label custom-control-label"
                                                    for="formCheck-1">记住密码</label></div>
                                            <div class="col-12" style="padding: 0 100px 0 100px">
                                                {% if messages %}
                                                    {% for message in messages %}
                                                        {% if message.tags == 'error' %}
                                                            <div class="alert alert-danger">{{ message }}</div>
                                                        {% endif %}
                                                    {% endfor %}
                                                {% endif %}
                                            </div>
                                        </div>

                                    </div>

                                    <button class="btn btn-primary d-block btn-user w-100" type="submit">登陆</button>
                                    <hr>
                                </form>
                                <div class="text-center"><a class="small" href="forgot-password.html">忘记密码?</a></div>
                                <div class="text-center"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="{% static "assets/bootstrap/js/bootstrap.min.js" %}"></script>
<script src="{% static "assets/js/chart.min.js" %}"></script>
<script src="{% static "assets/js/script.min.js" %}"></script>
</body>
</html>